import Vue from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import store from "./store";
import elementComponents from "@/helper/elementComponents";
import "element-ui/lib/theme-chalk/index.css";

Object.values(elementComponents).forEach(name => Vue.use(name));

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
